.class Lcom/netease/newsreader/activity/NewsReader$7;
.super Ljava/lang/Object;
.source "NewsReader.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/netease/newsreader/activity/NewsReader;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/netease/newsreader/activity/NewsReader;


# direct methods
.method constructor <init>(Lcom/netease/newsreader/activity/NewsReader;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/netease/newsreader/activity/NewsReader$7;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    .line 3379
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 11
    .parameter "v"

    .prologue
    const/4 v10, 0x0

    .line 3382
    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Lcom/netease/newsreader/bean/PhotosetListInfo;

    .line 3383
    .local v5, photosetlistinfo:Lcom/netease/newsreader/bean/PhotosetListInfo;
    if-nez v5, :cond_1

    .line 3425
    :cond_0
    :goto_0
    return-void

    .line 3387
    :cond_1
    invoke-virtual {v5}, Lcom/netease/newsreader/bean/PhotosetListInfo;->getSetid()Ljava/lang/String;

    move-result-object v6

    .line 3388
    .local v6, setid:Ljava/lang/String;
    invoke-virtual {v5}, Lcom/netease/newsreader/bean/PhotosetListInfo;->getImgsum()Ljava/lang/String;

    move-result-object v3

    .line 3389
    .local v3, imgsum:Ljava/lang/String;
    invoke-virtual {v5}, Lcom/netease/newsreader/bean/PhotosetListInfo;->getSetname()Ljava/lang/String;

    move-result-object v2

    .line 3390
    .local v2, imgTitle:Ljava/lang/String;
    invoke-virtual {v5}, Lcom/netease/newsreader/bean/PhotosetListInfo;->getClientcover()Ljava/lang/String;

    move-result-object v1

    .line 3392
    .local v1, clientcover:Ljava/lang/String;
    const-string v7, "0"

    invoke-virtual {v7, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v7

    if-eqz v7, :cond_4

    .line 3393
    iget-object v7, p0, Lcom/netease/newsreader/activity/NewsReader$7;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v7}, Lcom/netease/newsreader/util/Tools;->CheckNetwork(Landroid/content/Context;)Z

    move-result v7

    if-nez v7, :cond_2

    .line 3394
    iget-object v7, p0, Lcom/netease/newsreader/activity/NewsReader$7;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    iget-object v8, p0, Lcom/netease/newsreader/activity/NewsReader$7;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    const-string v9, "\u7f51\u7edc\u8fde\u63a5\u9519\u8bef"

    invoke-static {v8, v9, v10}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v8

    invoke-static {v7, v8}, Lcom/netease/newsreader/activity/NewsReader;->access$37(Lcom/netease/newsreader/activity/NewsReader;Landroid/widget/Toast;)V

    .line 3395
    iget-object v7, p0, Lcom/netease/newsreader/activity/NewsReader$7;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v7}, Lcom/netease/newsreader/activity/NewsReader;->access$38(Lcom/netease/newsreader/activity/NewsReader;)Landroid/widget/Toast;

    move-result-object v7

    invoke-virtual {v7}, Landroid/widget/Toast;->show()V

    goto :goto_0

    .line 3399
    :cond_2
    iget-object v7, p0, Lcom/netease/newsreader/activity/NewsReader$7;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v7}, Lcom/netease/newsreader/activity/NewsReader;->access$17(Lcom/netease/newsreader/activity/NewsReader;)Landroid/widget/ProgressBar;

    move-result-object v7

    invoke-virtual {v7, v10}, Landroid/widget/ProgressBar;->setVisibility(I)V

    .line 3400
    iget-object v7, p0, Lcom/netease/newsreader/activity/NewsReader$7;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v7}, Lcom/netease/newsreader/activity/NewsReader;->access$92(Lcom/netease/newsreader/activity/NewsReader;)Ljava/util/Vector;

    move-result-object v7

    invoke-virtual {v7}, Ljava/util/Vector;->size()I

    move-result v7

    const/16 v8, 0x1f

    if-lt v7, v8, :cond_3

    .line 3401
    iget-object v7, p0, Lcom/netease/newsreader/activity/NewsReader$7;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    iget-object v8, p0, Lcom/netease/newsreader/activity/NewsReader$7;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    const-string v9, "\u65e0\u66f4\u591a\u56fe\u96c6"

    invoke-static {v8, v9, v10}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v8

    invoke-static {v7, v8}, Lcom/netease/newsreader/activity/NewsReader;->access$37(Lcom/netease/newsreader/activity/NewsReader;Landroid/widget/Toast;)V

    .line 3402
    iget-object v7, p0, Lcom/netease/newsreader/activity/NewsReader$7;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v7}, Lcom/netease/newsreader/activity/NewsReader;->access$38(Lcom/netease/newsreader/activity/NewsReader;)Landroid/widget/Toast;

    move-result-object v7

    invoke-virtual {v7}, Landroid/widget/Toast;->show()V

    .line 3403
    iget-object v7, p0, Lcom/netease/newsreader/activity/NewsReader$7;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v7}, Lcom/netease/newsreader/activity/NewsReader;->access$17(Lcom/netease/newsreader/activity/NewsReader;)Landroid/widget/ProgressBar;

    move-result-object v7

    const/16 v8, 0x8

    invoke-virtual {v7, v8}, Landroid/widget/ProgressBar;->setVisibility(I)V

    goto :goto_0

    .line 3406
    :cond_3
    iget-object v7, p0, Lcom/netease/newsreader/activity/NewsReader$7;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v7}, Lcom/netease/newsreader/activity/NewsReader;->access$93(Lcom/netease/newsreader/activity/NewsReader;)Z

    move-result v7

    if-nez v7, :cond_0

    .line 3407
    iget-object v7, p0, Lcom/netease/newsreader/activity/NewsReader$7;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    const/4 v8, 0x1

    invoke-static {v7, v8}, Lcom/netease/newsreader/activity/NewsReader;->access$85(Lcom/netease/newsreader/activity/NewsReader;Z)V

    .line 3408
    new-instance v7, Lcom/netease/newsreader/activity/NewsReader$getmorePhotoset;

    iget-object v8, p0, Lcom/netease/newsreader/activity/NewsReader$7;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    const/4 v9, 0x0

    invoke-direct {v7, v8, v9}, Lcom/netease/newsreader/activity/NewsReader$getmorePhotoset;-><init>(Lcom/netease/newsreader/activity/NewsReader;Lcom/netease/newsreader/activity/NewsReader$getmorePhotoset;)V

    invoke-virtual {v7}, Lcom/netease/newsreader/activity/NewsReader$getmorePhotoset;->start()V

    goto/16 :goto_0

    .line 3415
    :cond_4
    new-instance v4, Landroid/content/Intent;

    iget-object v7, p0, Lcom/netease/newsreader/activity/NewsReader$7;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    const-class v8, Lcom/netease/newsreader/activity/ImageSwitcherActivity;

    invoke-direct {v4, v7, v8}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 3416
    .local v4, intent:Landroid/content/Intent;
    new-instance v0, Landroid/os/Bundle;

    invoke-direct {v0}, Landroid/os/Bundle;-><init>()V

    .line 3418
    .local v0, bundle:Landroid/os/Bundle;
    const-string v7, "setid"

    invoke-virtual {v0, v7, v6}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 3419
    const-string v7, "imgsum"

    invoke-virtual {v0, v7, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 3420
    const-string v7, "imgTitle"

    invoke-virtual {v0, v7, v2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 3421
    const-string v7, "clientcover"

    invoke-virtual {v0, v7, v1}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 3422
    invoke-virtual {v4, v0}, Landroid/content/Intent;->putExtras(Landroid/os/Bundle;)Landroid/content/Intent;

    .line 3423
    iget-object v7, p0, Lcom/netease/newsreader/activity/NewsReader$7;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-virtual {v7, v4}, Lcom/netease/newsreader/activity/NewsReader;->startActivity(Landroid/content/Intent;)V

    goto/16 :goto_0
.end method
